package com.jk.user.mapper;

import com.jk.user.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRepository extends JpaRepository<User,Integer> {

    @Override
    List<User> findAll();

    User findUserByUserName(String userName);




    User findUserById(String id);
}
